<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
		</style>
	</head>
	<body>
		<div>
			<div id="div1"></div>
			<div></div>
			<div></div>
		</div>
	</body>
	<script>
		div1.style.width = '200px';
		div1.style.height = '200px';
		div1.style.background = 'red';
		
		div1.parentNode.style.width = '300px';
		div1.parentNode.style.height = '300px';
		div1.parentNode.style.background = 'yellow';
	</script>
</html>